home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / msdos / tdy400.zip / TIDY.MAN < prev    next >
Text File  |  1993-09-28  |  19KB  |  588 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. ExtraDOS Toolbox (tm)
  10. _______________________________________
  11.  
  12. Tidy Users Manual
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. Copyright (c) 1985-93 Foley Hi-Tech Systems (ASP)  All Rights Reserved
  34.  
  35.  
  36. Introduction
  37. _____________________________________________________________________
  38.  
  39.  
  40. ExtraDOS Toolbox is a compilation of tools useful to Microsoft DOS
  41. users.  I originally wrote the first version of ExtraDOS under MS-DOS
  42. because I found a need for them and there were no commercially
  43. available products that provided these functions.  Some ExtraDOS tools
  44. were designed to enhance programs already found in MS-DOS.  Other
  45. tools were familiar to the Unix world, but were not available in
  46. MS-DOS.  Over the years this collection has grown into large group of
  47. very useful tools.  Some of these utilities are duplicates of those
  48. found elsewhere, but often provide much better features or reduced
  49. memory overhead than similar utilities found elsewhere.  In addition,
  50. ExtraDOS complements PC-Tools and Norton Utilities with added tools
  51. these programs do not provide.
  52.  
  53. Over thirty of the ExtraDOS Toolbox utilities have been selected by
  54. Paul Somerson, former Executive Editor of PC Magazine, for Bantam
  55. Books', DOS Power Tools, 2nd Edition, Revised and Expanded for DOS
  56. 5.0.  Many of the ExtraDOS Toolbox utilities are now appearing in many
  57. popular DOS books that feature shareware enhancements for DOS.
  58.  
  59. I hope you find these tools useful and convienent.  Any suggestions
  60. for enhancements, improvements or additions are welcome.  Please
  61. contact use with your comments.
  62.  
  63.  
  64. David R. Foley
  65.  
  66.  
  67. License Agreement
  68. _____________________________________________________________________
  69.  
  70.  
  71.   This software is protected by both United States' copyright law and
  72.   international treaty provisions. Therefore, you must treat this
  73.   software "just like a book," with the following single exception.
  74.   Foley Hi-Tech Systems authorizes you to make archival copies of the
  75.   software for the sole purpose of backing up our software and
  76.   protecting your investment from loss. By saying, "just like a book,"
  77.   Foley Hi-Tech Systems means that this software may be used by any
  78.   number of people and may be freely moved from one computer location
  79.   to another, provided there is absolutely no possibility of it being
  80.   used at one location while it is being used at another. Just as a
  81.   book cannot be read by two different people in two different places
  82.   simultaneously, the software may not be used by two different people
  83.   in two different places simultaneously.
  84.  
  85.   You may not make copies of the software documentation or disk,
  86.   except as described above. You may not distribute, rent, sublicense,
  87.   or lease the software or the documentation. You may not alter,
  88.   modify, or adapt the software or documentation, including but not
  89.   limited to translating, decompiling, reverse assembling, or creating
  90.   derivative works. You may not use the software in a network,
  91.   timeshareing, multiple CPU, or multi- user environment unless each
  92.   user is licensed by Foley Hi-Tech Systems.
  93.  
  94.  
  95. EXTRADOS TOOLBOX
  96. _____________________________________________________________________
  97.  
  98.  
  99. LIMITED WARRANTY
  100.  
  101.   Upon notification of defects in material or workmanship,
  102.   within the warranty period of 45 days from the date of purchase,
  103.   Foley Hi-Tech Systems will, at its option, replace the defective
  104.   diskette or refund the license fee. If you need to return a product,
  105.   call the Foley Hi-Tech Systems Technical Support Service Department
  106.   to obtain a return authorization number. The remedy for breach of
  107.   this warranty shall be limited to replacement or refund and shall
  108.   not encompass any other damages, including but not limited to loss
  109.   of profit, and special, incidental, consequential, or other similar
  110.   claims.
  111.  
  112.   Foley Hi-Tech Systems specifically disclaims all other warranties,
  113.   expressed or implied, including but not limited to implied
  114.   warranties of merchantability and fitness for a particular purpose
  115.   with respect to defects in the diskette and documentation, and the
  116.   program license granted herein in particular, and without limiting
  117.   operation of the program license with respect to any particular
  118.   application, use, or purpose. In no event shall Foley Hi-Tech
  119.   Systems be liable for any loss of profit or any other commercial
  120.   damage, including but not limited to special, incidental,
  121.   consequential, or other damages. This statement shall be construed,
  122.   interpreted, and governed by the laws of the State of California.
  123.  
  124.  
  125. TRADEMARK INFORMATION
  126.  
  127.   ExtraDOS Toolbox, TurboBAT, SpeedRAM, Screen Manager, Profiler,
  128.   WizLabel, CDBS, Press Gate Manager, ExtraWindows Toolbox and Safety
  129.   Disk are trademarks of Foley Hi-Tech Systems.
  130.  
  131.   MS-DOS and Windows are trademarks of Microsoft Corporation.
  132.  
  133.   Norton Utilities are a trademark of Symantec.
  134.  
  135.   PC-Tools is a trademark of Central Point Software.
  136.  
  137. TIDY - Disk Cleanup Utility
  138. _____________________________________________________________________
  139.  
  140.  
  141. DESCRIPTION
  142.  
  143.   Finds and deletes all .BAK and ZERO length files.  Optionally
  144.   search child subdirectories.
  145.  
  146.  
  147. VERSION
  148.  
  149.   4.00  09/28/93
  150.  
  151.  
  152. COMMAND FORMAT
  153.  
  154.   TIDY  [drive] [/P] [/W] [/R] [/Z] [/A] [/L] [/S] [/H] [extension ... ]
  155.  
  156.  
  157.   /A  Search all drives.  This mode will search all hard drives in the
  158.       system, including network drives.
  159.  
  160.   /C  Confirmation mode.  This mode will not delete any files until the
  161.       user has confirmed the deletion.
  162.  
  163.   /H  Include hidden files in search.  Also searches hidden directories
  164.       if /S is specified.
  165.  
  166.   /L  List mode.  Lists the files that would be deleted but doesn't
  167.       actually delete them.
  168.  
  169.   /P  Search all physical drives, excludes network drives.
  170.  
  171.   /R  Delete read only files.  Normally tidy will not delete files that
  172.       have the read-only attribute set.  This parameter will override that
  173.       function.
  174.  
  175.   /S  Recurse into subdirectories.  Normally, only the current
  176.       directory is processed.  This switch causes all child
  177.       directories to be processed as well.
  178.  
  179.   /T  Terse operation.  Directory and filenames are suppressed.  Only
  180.       the summary information is displayed.
  181.  
  182.   /X  Execute.  Since TIDY displays help if no command line options are
  183.       issued, this switch is required to execute with the defaults.
  184.  
  185.   /Z  Ignore zero length files.  Some programs require that zero length
  186.       files be kept.  With /Z set no zero length files will be deleted.
  187.  
  188. NOTES
  189.  
  190.   TIDY displays the name of each file and its size as it is deleted.
  191.   Also displays a summary of files that it has erased, as well as a
  192.   total showing how much disk space was freed. Enter any words on the
  193.   command line after TIDY, and the program will search for files with
  194.   those extensions and delete them.
  195.  
  196.   You can specify default command line options in the environment
  197.   using the TIDY= variable.  For example, to default to "Ignore Zero
  198.   Length Files" and search for the extension "TMP" (in addition to the
  199.   default "BAK" extension" type at the command line:
  200.  
  201.                              SET TIDY=/Z TMP
  202.  
  203.   You can override the /Z by including /Z- at the command line,
  204.   although you can not suppress the TMP extension search without
  205.   clearing the environment variable.
  206.  
  207. EXAMPLES
  208.  
  209.   TIDY MAP
  210.  
  211.   tells TIDY to delete all .BAK fiels, as well as all .MAP files.
  212.  
  213.   You cannot specify global wildcards ("*" or "???" in the file
  214.   extension, but you can list up to 62 extensions to search for.
  215.  
  216.   Additionally, you can give TIDY a disk drive specifier to have the
  217.   program tidy that drive.  For example, to tidy up on the A: drive,
  218.   use TIDY A:.
  219.  
  220.   You can use the extensions and disk drive specifier in any order,
  221.   but the only restriction is that the specifier must contain the
  222.   colon and there must only be one specifier on a line.  So,
  223.  
  224.   TIDY A: MAP TMP  will perform identically to  TIDY MAP TMP A:
  225.  
  226.   The /C option will cause the program to prompt the user if the file
  227.   should really be deleted or not.  If the user enters Q, for quit,
  228.   the program exits and displays a status report.
  229.  
  230. TECHNICAL SUPPORT
  231. _____________________________________________________________________
  232.  
  233.  
  234.   Often we get calls from people asking questions that can be
  235.   solved easily by checking through the manual before calling tech
  236.   support. We ask that you browse the manual and look for information
  237.   pertaining to your particular problem before calling. This can often
  238.   save you time, as we take a collection of our most common questions
  239.   and try to address them in this manual.
  240.  
  241.   We offer alternative methods besides the conventional phone
  242.   support, such as a multi-line 24-hour BBS system. We also monitor
  243.   most technical conferences in the BBS Interlink and RelayNet
  244.   networks as well as many conferences on the CompuServe
  245.   Information System. You may send messages and questions via any of
  246.   these services.
  247.  
  248.   Currently our Tech Support office is staffed Monday through Friday
  249.   from 9:00 a.m. to 5:00 p.m. Pacific Time. There is a chance,
  250.   however, that someone is in the office outside this time frame.
  251.   If so, we will gladly answer your questions outside the normal
  252.   business hours.  Registered users are given unlimited technical
  253.   support.
  254.  
  255.   Foley Hi-Tech Systems
  256.   Technical Support Department
  257.   185 Berry Street
  258.   San Francisco, CA  94107
  259.   (415) 882-1730
  260.   (415) 882-1733 FAX
  261.   (415) 882-1735 BBS
  262.   PCVENB CONF. 13 CompuServe
  263.  
  264.  
  265.  
  266. CREDITS
  267. _____________________________________________________________________
  268.  
  269.  
  270.   This collection of utilities started out as a small set of home
  271.   grown tools that I just could not stand to live without.  Many times
  272.   someone would see me using them and ask for a copy.  This was a big
  273.   mistake.  All of the sudden I had to debug my code.  Someone would
  274.   call me up and remind me of some problem with a utility that I had
  275.   written or asked me to just add this one little feature.  Six years
  276.   later the package has evolved to its current state.  Along the way I
  277.   have had the help of many people in testing and ideas for products.
  278.   I would like to thank all of those people who have of course
  279.   registered these utilities as this is now a new incentive for
  280.   continuing to expand them.  More specifically I'd like to thank the
  281.   following:
  282.  
  283.   Kathy Smith
  284.   Jay Wessel
  285.   Roger Cross
  286.   Brian & Tess for Channel 1
  287.   Paul Somerson & Bantam Books
  288.   PC Tech Journal (A Great Loss)
  289.   PC Magazine
  290.   Byte Magazine
  291.   Jerry Pournelle
  292.   Association of Shareware Professionals
  293.  
  294.  
  295.  
  296.  
  297. PROGRAMMING
  298.  
  299.   The ExtraDOS Toolbox utilties use a wide variety of programming
  300.   tools including:
  301.  
  302.   Borland Turbo Pascal 7.0
  303.   Borland Turbo Assembler 3.0
  304.   Borland Turbo C++ 1.0
  305.   Borland Turbo Debugger 2.0
  306.   Turbo Power Software Object Professional 1.0
  307.   Phil Katz' PKLite Professional 1.13
  308.   Unity Programmers Editor 3.33
  309.   Ralph Browns' Interrupt List
  310.  
  311.  
  312.   Programming by:
  313.  
  314.   Mike Blaszczak
  315.   David Foley
  316.   Joe Halpin
  317.   Bill McKee
  318.   Mike Molloy
  319.   Mike Viens
  320.   Ross Wentworth
  321.   Randall Woodman
  322.  
  323.  
  324. CREDITS
  325. _____________________________________________________________________
  326.  
  327.  
  328.  
  329. ART
  330.  
  331.   Artwork for the ExtraDOS Toolbox was created using:
  332.  
  333.   Ian Davis' TheDraw 4.01
  334.   Aldus Freehand 2.0
  335.   Electronic Arts Studio/8 2.0
  336.  
  337.  
  338.   Art by:
  339.  
  340.   David Foley
  341.   Noel Gamboa
  342.   Moses Gates
  343.   Shahasp Herardian
  344.   Pat McSween
  345.   Ross Wentworth
  346.  
  347.  
  348. DOCUMENTATION
  349.  
  350.   Documentation for the ExtraDOS Toolbox was written using:
  351.  
  352.   FHTS SuperEdit 3.04
  353.   Word Perfect 5.1
  354.   MS Word for Windows 2.0
  355.   Grammatik for Windows 1.0
  356.   Aldus Pagemaker 4.0
  357.   Unity Programmers Editor 3.33
  358.  
  359.  
  360.   Documentation by:
  361.  
  362.   Mike Blaszczak
  363.   David Foley
  364.   Mike Viens
  365.   Ross Wentworth
  366.  
  367.  
  368.   Printed Manuals by:
  369.  
  370.   BindCo, Brisbane, CA.
  371.  
  372.  
  373. LICENSE INFORMATION
  374.  
  375.   CHIMES, EVAL and RAMDRIVE are derivatives of the Nifty James
  376.   utilties by Mike Blaszczak.
  377.  
  378.   FILEATTR, NAMEDIR and SWAPFILE are derivatives of the Fantastic
  379.   Utilities by Mike Viens.
  380.  
  381.  
  382.  
  383. FHTS Products
  384. _____________________________________________________________________
  385.  
  386.  
  387. Safety Disk (tm)
  388.  
  389.   Safety Disk saves all of your systems vital information and will
  390.   solve most problems due to:  Loss of battery power, Loss of CMOS
  391.   information, accidental deletion of boot files, virus damage to boot
  392.   disk.
  393.  
  394.  
  395.   "Use Safety Disk and your PC is Safe.", Computer Shopper, March 1992
  396.  
  397.   "Used in Conjuntion with a conventional backup utility, Safety Disk,
  398.    for $59.95 will provide as bulletproof a backup as you're likely to
  399.    find in the PC marketplace.", InfoWorld, February 10, 1992
  400.  
  401.   "Safety Disk is so deceptively easy to use that it makes hard-drive
  402.    and computer maintenance seem impossibly easy.", PCM Magazine, May
  403.    1992
  404.  
  405.   "I have discovered the most unique and useful system maintenance
  406.    utility since Spinrite came along.", MBUG PC Newsletter, December,
  407.    1991
  408.  
  409.  
  410. ExtraDOS Toolbox (tm)
  411.  
  412.   A large collection of over 50 utilities that DOS forgot. Includes
  413.   many helpful utilities that enhance MS-DOS machines. Featured in the
  414.   DOS Power Tools, 2nd Edition, Revised for DOS 5.0 book by Bantam
  415.   Books.
  416.  
  417.  
  418. WizLabel (tm)
  419.  
  420.   Print Sharp Wizard phone listings directly to your SLP Printer
  421.   without having to convert your data.
  422.  
  423.  
  424. Coach Database System■.
  425.  
  426.   CDBS provides a method for tracking and evaluating NBA teams, NBA
  427.   players, and college players. It supplies a comprehensive report
  428.   generator for building decision support reports on scouted players.
  429.  
  430.  
  431. FHTS Products
  432. _____________________________________________________________________
  433.  
  434.  
  435.  
  436. Press Gate Manager■.
  437.  
  438.   Software for event organizers. Creates and maintains a database of
  439.   events and guests with the ability to track seating by type,
  440.   location, and person. Produces seating charts and labels for press
  441.   passes.
  442.  
  443.  
  444. FINDB■.
  445.  
  446.   Financial Database System for tracking shareholders in a company.
  447.   Allows the instant retrieval of information based on any part of a
  448.   persons account id, ss#, zip code etc.  Has support for completely
  449.   customized HP Laserjet tax forms.  Ideal for generating K1 tax
  450.   reports for limited partnerships.
  451.  
  452.  
  453.  
  454. EXTRADOS TOOLBOX UPCOMING ADDITIONS
  455. _____________________________________________________________________
  456.  
  457.  
  458. We are constantly adding new utilities to the ExtraDOS Toolbox
  459. collection.  Some are developments of ideas from our customers.  If
  460. you know of a utility that you would find handy or updates to
  461. existing utilities please let us know about them.
  462.  
  463.  
  464. BATPLUS     Collection of enhancements for DOS Batch files.  BATPLUS
  465.             enhancements will also be supported by TurboBAT.
  466.  
  467. BOOTMGR     Boot Manager will allow you to choose from many different
  468.             boot up configurations by displaying a menu of choices
  469.             at boot time.  Each configuration can have a seperate
  470.             AUTOEXEC.BAT and CONFIG.SYS associated with it.
  471.  
  472. DIALIT      Small TSR that allows you to pop up over any text screen
  473.             and capture a phone number and then dialing with your
  474.             modem.
  475.  
  476. DIFF        Full screen file comparison utility.  Will display the
  477.             differences between two different files.
  478.  
  479. DIRSORT     Sort directories by Name, Extension, Date, Time or Size.
  480.  
  481. DISKTEST    Command line utility to perform testing functions on disk
  482.             drives looking for bad sectors or clusters.
  483.  
  484. EMSX86      EMS 4.0 Memory Manager that converts Extended Memory into
  485.             LIM EMS 4.0 Expanded memory.
  486.  
  487. FKEYSET     Allows you to assign customized values for all the function
  488.             keys.
  489.  
  490. LQPRINT     Allows 9 pin dot matrix printers to print near letter
  491.             quality output by converting text into high resolution
  492.             graphics.
  493.  
  494. NBSTIME     Will set your PC clock to National Atomic Clock time by
  495.             calling NBS with your modem.
  496.  
  497. PRMPTMGR    Prompt Manager gives you access to a library of DOS prompts
  498.             and allows you to create your own DOS prompts.
  499.  
  500. PRINTCTL    Print Controller is a multiple printer spool and configuration
  501.             utility.  Supports EMS or DISK spooling and up to three
  502.             printer ports.
  503.  
  504.  
  505. EXTRADOS TOOLBOX UPCOMING ADDITIONS
  506. _____________________________________________________________________
  507.  
  508.  
  509. SORT        Advanced SORT utilty for DOS.  Features many enhancements o
  510.             over the DOS version.
  511.  
  512. SPEEDFL     Increase access to some floppy disk drives.
  513.  
  514. SPLITFL     Split files into multiples for modem or diskette transfers.
  515.  
  516. STOPWTCH    Stop Watch allows you to time programs at the DOS prompt.
  517.  
  518. SWAPFILE    Swap to file names with the associated files.
  519.  
  520. XCD         Smart CHDIR command.  Will accept partial names.
  521.  
  522. XDEL        Advanced delete command.  Allows many options and exclusions.
  523.  
  524. XDIR        Updated DIR command with sort options.
  525.  
  526. ZIPCODE     TSR to allow the searching of US Postal Zip Code Database.
  527.  
  528.  
  529.  
  530.  
  531.   The latest versions of the ExtraDOS Toolbox utilities can be found on:
  532.  
  533.   FHTS PC GURU III BBS, San Francisco, CA  (415) 882-1735
  534.  
  535.   CHANNEL 1 BBS, Cambridge, MA             (617) 354-8873
  536.  
  537.   COMPUSERVE INFORMATION SERVICE           PCVENB CONF. 13
  538.  
  539. TIDY
  540.  
  541. Revision Notes
  542.  
  543. 12/07/87 1.00
  544. - Original Version as Nifty James Tidy by Mike Blaszczak
  545.  
  546. 12/18/87 1.10
  547.  
  548. 01/19/88 2.00
  549.  
  550. 01/26/88 2.10
  551.  
  552. 02/20/89 3.00
  553. - for Microsoft Optimizing C Compiler, 5.00 (Use the COMPACT model)
  554.  
  555. 10/20/90 1.00
  556. - Foley Hi-Tech Systems ExtraDOS utilities licensing agreement between Mike B.
  557.   & David F.
  558.  
  559. 02/14/92 1.01
  560. - Converted to Turbo C
  561.  
  562. 03/02/91 1.02
  563. - Fixed bug in getopts()
  564.  
  565. 03/03/91 1.03
  566. - removed commented out code to make the deleteone work and fixed the
  567.   two CR on the ATTRIB display.
  568.  
  569. 03/16/91 1.04
  570. - Fixed the word wrap problem on files that can't be deleted
  571.  
  572. 03/29/92 1.05
  573. - update ASP info
  574.  
  575. 02/03/93 1.10
  576. - added /A & /Z command line options.
  577. - improved speed (dowork() now doesn't check directory names with .exts!
  578. - new line added with each new directory listing solves format bug with
  579.   "couldnt delete file" statement.
  580.  
  581. 07/20/93 2.00
  582. - Completely rewritten in Borland Pascal 7.0
  583.  
  584. 09/28/93 4.00
  585. - fix bug where files ending in .k are deleted
  586. - change to 4.00 series number
  587.  
  588.